﻿using System.Collections.Generic;
using UnityEngine;
/*完成木叶的终极闪光*/
public class Wood_Flash : MonoBehaviour
{
    //定义四代
    public GameObject flash;
    //定义方向
    private Vector3 dir;
    private void Start()
    {
        //实例化一个四代
        Instantiate(flash,Vector3.zero,flash.transform.rotation);
    }
    private void Update()
    {
        Vector3 p = Random.onUnitSphere*5;
        //dir =;
        flash.transform.Translate(dir * Time.deltaTime);
    }
}
